home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 14 / MacFormat n. 14 (Spain) / MacFormat 14.bin / Shareware Internet / HyperCard / CoolAddressBook1.0b6* / Cool Address Book ƒ / Cool Address Book 1.0b6 / Cool Address Book 1.0b6 / background_131527.xml < prev    next >
Encoding:
Extensible Markup Language  |  1994-04-04  |  21.3 KB  |  370 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>131527</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_131708.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <true /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_2120.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <true /> </sharedText>
  18.         <fixedLineHeight> <false /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>0</left>
  23.             <top>0</top>
  24.             <right>512</right>
  25.             <bottom>19</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>outline</textStyle>
  39.         <textHeight>16</textHeight>
  40.         <name></name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>2</id>
  45.         <type>button</type>
  46.         <visible> <true /> </visible>
  47.         <reserved5> 0 </reserved5>
  48.         <reserved4> 0 </reserved4>
  49.         <reserved3> 0 </reserved3>
  50.         <reserved2> 0 </reserved2>
  51.         <reserved1> 0 </reserved1>
  52.         <enabled> <true /> </enabled>
  53.         <rect>
  54.             <left>2</left>
  55.             <top>2</top>
  56.             <right>17</right>
  57.             <bottom>16</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <showName> <false /> </showName>
  61.         <highlight> <false /> </highlight>
  62.         <autoHighlight> <false /> </autoHighlight>
  63.         <sharedHighlight> <true /> </sharedHighlight>
  64.         <family>0</family>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>3071</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Chicago</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <name></name>
  72.         <script>on mouseUpif icon of me = 3358thenset icon of me to "Close Box2"visual effect zoom close fastpop cardend ifend mouseUpon mousedown-- set icon of me to "Clicked Close Box2"repeat while the mouse is downif the mouseV < top of me then set icon of me to "Close Box2"elseif the mouseV > Bottom of me then set icon of me to "Close Box2"elseif the mouseH < Left of me then set icon of me to "Close Box2"elseif the mouseH > right of me then set icon of me to "Close Box2"else set icon of me to "Clicked Close Box2"end ifend ifend ifend repeatend Mousedown</script>
  73.     </part>
  74.     <part>
  75.         <id>3</id>
  76.         <type>field</type>
  77.         <visible> <true /> </visible>
  78.         <dontWrap> <false /> </dontWrap>
  79.         <dontSearch> <true /> </dontSearch>
  80.         <sharedText> <true /> </sharedText>
  81.         <fixedLineHeight> <false /> </fixedLineHeight>
  82.         <autoTab> <false /> </autoTab>
  83.         <lockText> <true /> </lockText>
  84.         <rect>
  85.             <left>368</left>
  86.             <top>21</top>
  87.             <right>509</right>
  88.             <bottom>124</bottom>
  89.         </rect>
  90.         <style>transparent</style>
  91.         <autoSelect> <false /> </autoSelect>
  92.         <showLines> <false /> </showLines>
  93.         <wideMargins> <true /> </wideMargins>
  94.         <multipleLines> <false /> </multipleLines>
  95.         <reservedFamily> 0 </reservedFamily>
  96.         <titleWidth>0</titleWidth>
  97.         <icon>0</icon>
  98.         <textAlign>left</textAlign>
  99.         <font>Monaco</font>
  100.         <textSize>9</textSize>
  101.         <textStyle>plain</textStyle>
  102.         <textHeight>12</textHeight>
  103.         <name>Calendar</name>
  104.         <script>on mousedownselect the clickChunkif word 2 of the clickLine is 1thenPopMenuelse-- convert the date to dateItems -- Get the current date.put the clickText into dateSelected -- Get the selected date.-- Make sure that the person has selected a day an not something else.-- Delete the non-breaking space character if it is there.if first char of dateSelected is "¬†" then delete char 1 of dateSelectedif ((dateSelected is an integer) and (dateSelected ‚â• 1) ¬¨and (number of chars in dateSelected ‚â§ 2)) ¬¨and word 2 of the clickLine is 3then-- select the clickChunk -- Give the user a visual indication.put currentMonth(dateSelected) into dateSelected -- Get selected date.askForDate dateSelectedend ifend ifend mousedown--on AskForDate PassedDatelock screenput PassedDate into TheDateput empty into TheEventput empty into TheShortDateput 1 into DefaultNorepeat-- "TheDate" = dateitemsif TheDate is emptythenif TheShortDate is empty then put date() into TheShortDateask "Date:" with TheShortDateif it is empty then exit AskForDateconvert it to short dateif the result is not emptythenrepeatask "The date you entered is not valid:" && TheShortDate & return & "Enter Date:" with TheShortDateif it is empty then exit AskForDateconvert it to short dateif the result is empty then exit repeatend repeatend ifput it into TheShortDateconvert it to dateItemsput it into TheDateelseput TheDate into TheShortDateconvert TheShortDate to short dateend if-- at this point there are two varibles "TheDate" = dateItems-- and "TheShortDate" = the short datego card (item 2 of TheDate) of this bgask "What reoccuring event happens on" && TheShortDate & "?" with TheEventif it is empty then exit AskForDateput it into TheEventput "Link to which record?" into theMessageget  SelectRecord (theMessage,DefaultNo)if it is empty then exit AskForDateput item 1 of it into DefaultNodelete item 1 of itput it into CardName-------------------put "Date:" && TheShortDate & return & "Event:" && TheEvent & return &¬¨"Linked to record:" && CardName & return & return &¬¨"Is This Correct?" into CorrectMessageAnswer CorrectMessage with cancel or no or yesif it is cancel then exit AskForDateif it is yes then exit repeatput empty into TheDateend repeat-------------------Put item 2 of TheDate into TheMonthPut item 3 of TheDate into TheDayput "(" & item 1 of TheDate & ")" into TheYearput number of lines in bg field "ThisMonth" + 1 into LineNoput bg field "ThisMonth" into TheEntriesPut the length of TheMonth + 1 into TheLengthrepeat with count = number of lines in TheEntries down to 1delete char 1 to TheLength of line count of TheEntriesend repeatput 0 into countrepeat with count = number of lines in TheEntries down to 1if TheDay > item 1 of line count of TheEntries then exit repeatif count = 1 then put 0 into countend repeatput return before line (count + 1) of TheEntriesput TheDay & ", " & TheEvent && TheYear into line (count + 1) of TheEntries-- repeat with count = number of lines in TheEntries down to 1-- if line count of TheEntries is empty-- then delete line count of TheEntries-- end repeatrepeat with count = number of lines in TheEntries down to 1put TheMonth & "/" before line count of TheEntriesend repeatput TheEntries into bg field "ThisMonth"put  TheShortDate & "," & TheEvent & return into CardInfoput CardInfo after bg field "Birthday" of card CardNamepop card into Stupidpush card CardName-------------------------------------------------------------------------drawCalendar TheDateunlock screenend AskForDatefunction SelectRecord theMessage,DefaultNoset cursor to watchput bg field "All Records Index" of card 1 of bg "Records" into TheListget XScrollBox(DefaultNo,theMessage,TheList)if it is not emptythenreturn itelsereturn emptyend ifend SelectRecordon PopMenuif the clickText = word 1 of methenput POPmonth(first word of me) into TheMonthput TheMonth &",1," & word 2 of me into TheDateconvert TheDate to dateItemsdrawCalendar TheDateelseAsk "Draw Calendar For What Year" with word 2 of meput word 1 of me &",1," & it into TheDateconvert TheDate to dateItemsdrawCalendar TheDateend ifend PopMenufunction PopMonth Curmonthput "January,February,March,April,May,June,July,August,September,"¬¨& "October,November,December" into TheListrepeat with SelectNumber = 1 to the number of items in TheListif Curmonth = item SelectNumber of theList then exit repeatend repeatget FullHPop(TheList,1,SelectNumber)if it ‚↠emptythen return item 1 of itelse return Curmonthend popMonth--function currentMonth theDay-- Return the currently displayed month.if theDay is empty then put 1 into theDayput word 1 of me && theDay & "," && word 2 of me into returnValueconvert returnValue to dateItems-- put returnvaluereturn returnValueend currentMonthfunction monthTitle theDate-- Get the name of the month to display in the title.convert theDate to long datereturn word 2 of theDate & " " & last word of theDateend monthTitleon updateCalendar-- Make sure the calendar is up to date.-- Note: This routine is called from an openStack handler.convert the date to dateItems -- Get today's date.-- Don't update if the current year/month is currently shown.if item 1 to 2 of currentMonth() ‚↠item 1 to 2 of itthendrawCalendar itelse -- Just update the day for this month.markToday item 3 of itend ifend updateCalendaron drawMonth whichMonth-- Determine which month to draw and then draw the calendar.put currentMonth() into theDateif whichMonth is "prev" thenif item 2 of theDate is "1" thenput "12" into item 2 of theDatesubtract 1 from item 1 of theDateelse subtract 1 from item 2 of theDateelse if whichMonth is "next" thenif item 2 of theDate is "12" thenput "1" into item 2 of theDateadd 1 to item 1 of theDateelse add 1 to item 2 of theDateend if-- put "send" && quote & "drawCalendar" && TheDate & quote && ¬¨-- "to bg field calendar"drawCalendar theDateend drawMonthon drawCalendar theDisplayMonth-- Draw the current calendar.-- Notes: The display month parameter should be the first of the month.--        The month display depends upon a mono-spaced character field.-- This value should be the length of each day field.put 3 into DayCharWidth-- Make sure that the date is the first.convert theDisplayMonth to dateItemsput 1 into item 3 of theDisplayMonth-- Get a value that we will use to compute days in this month.convert theDisplayMonth to seconds-- Add 32 days to the currently displayed month (60*60*24*32) = 2764800put theDisplayMonth + 2764800 into nextMonthconvert nextMonth to dateItemsput item 3 of nextMonth - 2 into DaysInMonthOffset-- Get some remaining values that we will use a few times.convert theDisplayMonth to dateItems-- To shift the starting day of the week, set StartDayShift to--  correct shift values (ie. put 1 into StartDayShift -- for Sunday--  put 2 into StartDayShift -- for Monday).put 1 into StartDayShift -- for start day Sunday-- Provide for starting on alternate days of the week.put ((13 - item 7 of theDisplayMonth + StartDayShift) mod 7) ¬¨into theDayofWeeklock screen-- Note: Single digit days are preceeded by a non-breaking space--  to preserve field formatting.put monthTitle(theDisplayMonth) & return & ¬¨" S  M  T  W  T  F  S" & return & ¬¨char (theDayofWeek * DayCharWidth) + 1 to ¬¨((37 * DayCharWidth) - (DaysInMonthOffset * DayCharWidth)) of ¬¨("                  ¬†1 " & ¬¨"¬†2 ¬†3 ¬†4 ¬†5 ¬†6 ¬†7 ¬†8 " & ¬¨"¬†9 10 11 12 13 14 15 " & ¬¨"16 17 18 19 20 21 22 " & ¬¨"23 24 25 26 27 28 29 " & ¬¨"30 31") into me-- Format the title and header.setHeader-- If the displayed month is current then hilite the day.convert the date to dateItems -- Get the current Month.if item 1 to 2 of theDisplayMonth is item 1 to 2 of itthen markToday item 3 of itunlock screenend drawCalendaron setHeaderset the textStyle of me to "Plain"set the textFont of word 1 to 2 of me to "Geneva"set the textSize of word 1 to 2 of me to "12"set the textStyle of word 1 to 2 of me to "Bold,Condense"end setHeaderon markToday theNewDay-- Mark the current day by setting its textStyle to bold.-- Undo old styling.set textStyle of line 3 of me to plain-- Set new bolding.set textStyle of word theNewDay of line 3 of me to bold,condenseend markToday</script>
  105.     </part>
  106.     <part>
  107.         <id>4</id>
  108.         <type>button</type>
  109.         <visible> <true /> </visible>
  110.         <reserved5> 0 </reserved5>
  111.         <reserved4> 0 </reserved4>
  112.         <reserved3> 0 </reserved3>
  113.         <reserved2> 0 </reserved2>
  114.         <reserved1> 0 </reserved1>
  115.         <enabled> <true /> </enabled>
  116.         <rect>
  117.             <left>482</left>
  118.             <top>22</top>
  119.             <right>494</right>
  120.             <bottom>42</bottom>
  121.         </rect>
  122.         <style>transparent</style>
  123.         <showName> <false /> </showName>
  124.         <highlight> <false /> </highlight>
  125.         <autoHighlight> <true /> </autoHighlight>
  126.         <sharedHighlight> <true /> </sharedHighlight>
  127.         <family>0</family>
  128.         <titleWidth>0</titleWidth>
  129.         <icon>23718</icon>
  130.         <textAlign>center</textAlign>
  131.         <font>Chicago</font>
  132.         <textSize>12</textSize>
  133.         <textStyle>plain</textStyle>
  134.         <name>Month Prev</name>
  135.         <script>on mouseUp-- Tell the month caledar to draw the previous month--  (or just update the calendar if the option key is down).if there is a bg fld "Calendar" thenif the optionKey is down thensend "updateCalendar" to bg fld "Calendar"else send "drawMonth prev" to bg fld "Calendar"end ifpass mouseUpend mouseUp</script>
  136.     </part>
  137.     <part>
  138.         <id>7</id>
  139.         <type>button</type>
  140.         <visible> <true /> </visible>
  141.         <reserved5> 0 </reserved5>
  142.         <reserved4> 0 </reserved4>
  143.         <reserved3> 0 </reserved3>
  144.         <reserved2> 0 </reserved2>
  145.         <reserved1> 0 </reserved1>
  146.         <enabled> <true /> </enabled>
  147.         <rect>
  148.             <left>495</left>
  149.             <top>22</top>
  150.             <right>507</right>
  151.             <bottom>42</bottom>
  152.         </rect>
  153.         <style>transparent</style>
  154.         <showName> <false /> </showName>
  155.         <highlight> <false /> </highlight>
  156.         <autoHighlight> <true /> </autoHighlight>
  157.         <sharedHighlight> <true /> </sharedHighlight>
  158.         <family>0</family>
  159.         <titleWidth>0</titleWidth>
  160.         <icon>31435</icon>
  161.         <textAlign>center</textAlign>
  162.         <font>Chicago</font>
  163.         <textSize>12</textSize>
  164.         <textStyle>plain</textStyle>
  165.         <name>Month Prev</name>
  166.         <script>on mouseUp-- Tell the month caledar to draw the previous month--  (or just update the calendar if the option key is down).if there is a bg fld "Calendar" thenif the optionKey is down thensend "updateCalendar" to bg fld "Calendar"else send "drawMonth next" to bg fld "Calendar"end ifpass mouseUpend mouseUp</script>
  167.     </part>
  168.     <part>
  169.         <id>8</id>
  170.         <type>field</type>
  171.         <visible> <true /> </visible>
  172.         <dontWrap> <false /> </dontWrap>
  173.         <dontSearch> <false /> </dontSearch>
  174.         <sharedText> <false /> </sharedText>
  175.         <fixedLineHeight> <false /> </fixedLineHeight>
  176.         <autoTab> <false /> </autoTab>
  177.         <lockText> <false /> </lockText>
  178.         <rect>
  179.             <left>10</left>
  180.             <top>48</top>
  181.             <right>341</right>
  182.             <bottom>286</bottom>
  183.         </rect>
  184.         <style>scrolling</style>
  185.         <autoSelect> <false /> </autoSelect>
  186.         <showLines> <false /> </showLines>
  187.         <wideMargins> <false /> </wideMargins>
  188.         <multipleLines> <false /> </multipleLines>
  189.         <reservedFamily> 0 </reservedFamily>
  190.         <titleWidth>0</titleWidth>
  191.         <icon>0</icon>
  192.         <textAlign>left</textAlign>
  193.         <font>Helvetica</font>
  194.         <textSize>12</textSize>
  195.         <textStyle>plain</textStyle>
  196.         <textHeight>16</textHeight>
  197.         <name>ThisMonth</name>
  198.         <script></script>
  199.     </part>
  200.     <part>
  201.         <id>9</id>
  202.         <type>field</type>
  203.         <visible> <true /> </visible>
  204.         <dontWrap> <true /> </dontWrap>
  205.         <dontSearch> <true /> </dontSearch>
  206.         <sharedText> <false /> </sharedText>
  207.         <fixedLineHeight> <true /> </fixedLineHeight>
  208.         <autoTab> <true /> </autoTab>
  209.         <lockText> <true /> </lockText>
  210.         <rect>
  211.             <left>384</left>
  212.             <top>273</top>
  213.             <right>472</right>
  214.             <bottom>292</bottom>
  215.         </rect>
  216.         <style>shadow</style>
  217.         <autoSelect> <false /> </autoSelect>
  218.         <showLines> <false /> </showLines>
  219.         <wideMargins> <false /> </wideMargins>
  220.         <multipleLines> <false /> </multipleLines>
  221.         <reservedFamily> 0 </reservedFamily>
  222.         <titleWidth>0</titleWidth>
  223.         <icon>0</icon>
  224.         <textAlign>center</textAlign>
  225.         <font>Times</font>
  226.         <textSize>14</textSize>
  227.         <textStyle>plain</textStyle>
  228.         <textHeight>18</textHeight>
  229.         <name>RecordNo</name>
  230.         <script>on mouseupset cursor to watchask "Go to month #:"set cursor to watchlock screengo card it of this bgunlock screen with visual scroll down very fastend mouseup</script>
  231.     </part>
  232.     <part>
  233.         <id>10</id>
  234.         <type>button</type>
  235.         <visible> <true /> </visible>
  236.         <reserved5> 0 </reserved5>
  237.         <reserved4> 0 </reserved4>
  238.         <reserved3> 0 </reserved3>
  239.         <reserved2> 0 </reserved2>
  240.         <reserved1> 0 </reserved1>
  241.         <enabled> <true /> </enabled>
  242.         <rect>
  243.             <left>474</left>
  244.             <top>271</top>
  245.             <right>492</right>
  246.             <bottom>293</bottom>
  247.         </rect>
  248.         <style>transparent</style>
  249.         <showName> <false /> </showName>
  250.         <highlight> <false /> </highlight>
  251.         <autoHighlight> <true /> </autoHighlight>
  252.         <sharedHighlight> <true /> </sharedHighlight>
  253.         <family>0</family>
  254.         <titleWidth>0</titleWidth>
  255.         <icon>9105</icon>
  256.         <textAlign>center</textAlign>
  257.         <font>Chicago</font>
  258.         <textSize>12</textSize>
  259.         <textStyle>plain</textStyle>
  260.         <name>Prev</name>
  261.         <script>on mouseDownset cursor to watchmouseStillDownend mouseDownon mouseStillDownset cursor to watchlock screengo to prev card of this backgroundunlock screen with visual effect wipe right very fastset cursor to handend mouseStillDown</script>
  262.     </part>
  263.     <part>
  264.         <id>11</id>
  265.         <type>button</type>
  266.         <visible> <true /> </visible>
  267.         <reserved5> 0 </reserved5>
  268.         <reserved4> 0 </reserved4>
  269.         <reserved3> 0 </reserved3>
  270.         <reserved2> 0 </reserved2>
  271.         <reserved1> 0 </reserved1>
  272.         <enabled> <true /> </enabled>
  273.         <rect>
  274.             <left>491</left>
  275.             <top>271</top>
  276.             <right>509</right>
  277.             <bottom>293</bottom>
  278.         </rect>
  279.         <style>transparent</style>
  280.         <showName> <false /> </showName>
  281.         <highlight> <false /> </highlight>
  282.         <autoHighlight> <true /> </autoHighlight>
  283.         <sharedHighlight> <true /> </sharedHighlight>
  284.         <family>0</family>
  285.         <titleWidth>0</titleWidth>
  286.         <icon>9104</icon>
  287.         <textAlign>center</textAlign>
  288.         <font>Chicago</font>
  289.         <textSize>12</textSize>
  290.         <textStyle>plain</textStyle>
  291.         <name>Next</name>
  292.         <script>on mouseDownset cursor to watchmouseStillDownend mouseDownon mouseStillDownset cursor to watchlock screengo to next card of this backgroundunlock screen with visual effect wipe left very fastset cursor to handend mouseStillDown</script>
  293.     </part>
  294.     <part>
  295.         <id>12</id>
  296.         <type>field</type>
  297.         <visible> <true /> </visible>
  298.         <dontWrap> <false /> </dontWrap>
  299.         <dontSearch> <false /> </dontSearch>
  300.         <sharedText> <false /> </sharedText>
  301.         <fixedLineHeight> <false /> </fixedLineHeight>
  302.         <autoTab> <false /> </autoTab>
  303.         <lockText> <true /> </lockText>
  304.         <rect>
  305.             <left>10</left>
  306.             <top>24</top>
  307.             <right>341</right>
  308.             <bottom>47</bottom>
  309.         </rect>
  310.         <style>shadow</style>
  311.         <autoSelect> <false /> </autoSelect>
  312.         <showLines> <false /> </showLines>
  313.         <wideMargins> <false /> </wideMargins>
  314.         <multipleLines> <false /> </multipleLines>
  315.         <reservedFamily> 0 </reservedFamily>
  316.         <titleWidth>0</titleWidth>
  317.         <icon>0</icon>
  318.         <textAlign>center</textAlign>
  319.         <font>Times</font>
  320.         <textSize>18</textSize>
  321.         <textStyle>plain</textStyle>
  322.         <textHeight>24</textHeight>
  323.         <name></name>
  324.         <script>on mousedownput POPmonth(me) into TheMonth-- if theMonth is not empty then put theMonth into me-- set name of this card to mego card TheMonth-- put "drawCalendar" && theMonth into theMessage-- send theMessage to bg field calendarend mousedownfunction PopMonth Curmonthput "January,February,March,April,May,June,July,August,September,"¬¨& "October,November,December" into TheListrepeat with SelectNumber = 1 to the number of items in TheListif Curmonth = item SelectNumber of theList then exit repeatend repeatget FullHPop(TheList,1,SelectNumber)if it ‚↠emptythen return item 1 of itelse return Curmonthend popMonth</script>
  325.     </part>
  326.     <part>
  327.         <id>13</id>
  328.         <type>button</type>
  329.         <visible> <true /> </visible>
  330.         <reserved5> 0 </reserved5>
  331.         <reserved4> 0 </reserved4>
  332.         <reserved3> 0 </reserved3>
  333.         <reserved2> 0 </reserved2>
  334.         <reserved1> 0 </reserved1>
  335.         <enabled> <true /> </enabled>
  336.         <rect>
  337.             <left>408</left>
  338.             <top>127</top>
  339.             <right>457</right>
  340.             <bottom>178</bottom>
  341.         </rect>
  342.         <style>transparent</style>
  343.         <showName> <true /> </showName>
  344.         <highlight> <false /> </highlight>
  345.         <autoHighlight> <true /> </autoHighlight>
  346.         <sharedHighlight> <true /> </sharedHighlight>
  347.         <family>0</family>
  348.         <titleWidth>0</titleWidth>
  349.         <icon>20965</icon>
  350.         <textAlign>center</textAlign>
  351.         <font>Chicago</font>
  352.         <textSize>12</textSize>
  353.         <textStyle>plain</textStyle>
  354.         <name>New Entry</name>
  355.         <script>on mouseUpsend AskForDate to bg field Calendarend mouseUp</script>
  356.     </part>
  357.     <content>
  358.         <layer>background</layer>
  359.         <id>1</id>
  360.         <text>Calendar</text>
  361.     </content>
  362.     <content>
  363.         <layer>background</layer>
  364.         <id>3</id>
  365.         <text><span class="style18">pril 1994</span><span class="style10"> S  M  T  W  T  F  S               </span><span class="style19">¬†1</span><span class="style10"> ¬†2 ¬†3 ¬†4 ¬†5 ¬†6 ¬†7 ¬†8 ¬†9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 </span></text>
  366.     </content>
  367.     <name>Calendar</name>
  368.     <script>on openbackgroundset dontsearch of this bg to falsesend UpdateCalendar to bg field calendarend openbackgroundon closebackgroundset dontsearch of this bg to trueend closebackgroundon closecard-- UpdateWindowsFields Notesend closecardon opencardPageNo-- checkCalplay "Slide"-- UpdateWindows Gifts-- UpdateWindows Notesend opencard---- updating card ----------on checkCalput "drawCalendar" && short name of this card into theMessagesend theMessage to bg field calendarend checkCalon PageNoput the number of the first card of this bg -1 into StartNoput number of this card - startno && "/" && number of cards of this bg into bg field "RecordNO"end PageNo-----------------------------</script>
  369. </background>
  370.